import pytest
from test_zhifuu import set_up,emall
if __name__ == '__main__':
    set_up()
    pytest.main(['test_zhifuu.py','-s','--alluredir=baogao','--clean-alluredir'])
    # pytest.main(['test_zhifu.py','-s','--alluredir=baogao','--clean-alluredir'])
    import os
    os.system('allure generate baogao -o htmlreport --clean')
    # os.system('allure generate baogao -o htmlreport --clean')
    # os.system('allure generate baogao -o htmlreport --clean')
    emall(['log.log'])
